package org.tony.spider.novel.entries;

import java.io.Serializable;

public class Chapter
    implements Serializable
{
  private static final long serialVersionUID = 1L;
  private Book              book;
  //This is an customized title
  private String            title;
  private String            url;
  private String            originalTitle;
  private Boolean           isVipChapters;

  public Book getBook()
  {
    return book;
  }

  public void setBook(Book book)
  {
    this.book = book;
  }

  public String getTitle()
  {
    return title;
  }

  public void setTitle(String title)
  {
    this.title = title;
  }

  public String getUrl()
  {
    return url;
  }

  public void setUrl(String url)
  {
    this.url = url;
  }

  public String getOriginalTitle()
  {
    return originalTitle;
  }

  public void setOriginalTitle(String originalTitle)
  {
    this.originalTitle = originalTitle;
  }

  public Boolean getIsVipChapters()
  {
    return isVipChapters;
  }

  public void setIsVipChapters(Boolean isVipChapters)
  {
    this.isVipChapters = isVipChapters;
  }

  @Override
  public String toString()
  {
    return "Chapter [ title=" + title + ", url=" + url + ", originalTitle=" + originalTitle
        + ", isVipChapters=" + isVipChapters + "]";
  }

}
